fix bug in angle constructor