strict php fixes