again php bugs fix