Small more fixes for accessing attr