Fixed runtime error

Fixed: OhShi: Lua error (runtime) - ohshi/helper_functions.lua:62: attempt to index field '?' (a nil value)