fixed php/attributes