fix bug initial pop