fix major bug when refill every time keyboard used