Fixed an bug