fix PC crash