change orientation attribute name to avoid naming conflicts