Fixed potential explosion. Probably only happens in debug mode.