fix bug popup