fixed bug in velocity field extension