small but important fix, thx@fjedor