Input problem with Eject workflow

Hi,

on (input)
tell app “finder” to set input to disks whose ejectable is true and free space is not 0

end

coupled with automator’s Eject workflow doesn’t work. I can’t use ‘as list’, nor as ‘alias list’. Thanks.