fixed compiler error on angle