fixed lorisk plotstate error thing