fix at php layouts