endpoints creation fix