fixes display of button in views and removes unnecessary comments