minior  bug fix