attribute bug fixes