updated view for an issue and fixed some bugs