oups php fixing bug