fix in terminal vel formulae