Fixing bug.