fix buggy create route