bug fixes with angular filter