fix for not using prefix for api