prevent exp overflow