Thanks for the review and suggestion!
Also I am not really sure why the bug happens, but am going to look into it.