name fix for api rest