fix startup that is crashing
small refactor
Merge branch 'master' of github.com:TK009/yolo-meritahti