fixed orientation, added optional type/mag/dim for DSO