adjust the tech mode orientation algorithm