Resolving a potential crash