fixed room closing bug created by fixing PID bug