fix check wether currency is given as a parameter