fix wrongly-named function