fixed documentation after fixing bug