Revise mapping when pumvisible