fetch resource by id not index