add security for input of limit angles