Fixing crashing.