Fix to cricket plugin