cannot index a singleton