fixed #3 where empty prereqs are allowed