Fix custom attributes format