Fixed bug with reload view