fix compilation bugs

2 jobs for 103-method-i_velocity in 33 seconds (queued for 3 seconds)