corrected some mysterious failures with angles