some fixes on create new view