fixed php notices