updated to fix a angular issue