fixed game print nothing when parameters are null