fix to angle calc