fixed some angular errors