refactor
Bugfix no res file