fixed compil error
Merge pull request #139 from lexoyo/optim-app-init

fixed compil error