fixed crash if there wasnt a shader directory
 some stuff... i forget