fixing the obstacle blocks