Fixing problem with not using attribute