Fix error in default attributes