bug fix with removing number