fixed orientation contrstuctor