small fix for api work with new resource form