corrected minor angle bugs