trying to fix angles bug