removed console printing in views