fix problems with bringing up views after doing some things