fixing wrong number of argument on logger