Fix the bug with the disappeared pointer