Fixes the runtime nil error