fixed attr calls passing id instead of color