check if params nil
Merge branch 'master' of github.com:grrrisu/Simulator