Prevent long crashs