fixing showName logic