Fix bug with attributes wrong way round