set base to 1 in groovy converter if logged