fix syntax error
use the right arguments in the constructor