clean up for strict php