fixing attributes