fixing endpoint again, it is supposed to be the full path