fix php errors again