fixing custom attributes