fix an bug