fixed messed up blackprints condition