fixes for attributes