fix to be php code