before fixing bug