Fix the read-only attribute parsing