fixed Velocity engine init in a loop