fixing automode angle set