fixing attribute params