update readme with proper default for resolve function