Tiny fix for nullpointer

caused by the new prerequisite stuff