Removes extra view stuff