fix for velocity