fixing attributes to where issue