bugs in view were fixed