fix bug when status cache does not exist