fixes missing $check varible