Fixed single attr bug