removed php errors