bug fix.. argument passing in fmin