popup bug solved