Fixed critical crash when using runtime arguments (occurs with more than 2 arguments)