fixes #180 pre last hit ressource bug