fixing angular display bugs