finally bug solved