fix php warnings
comment out debug