fixing the show action