Bugfix, wrong number of parameters to main