fixed minor function name error