fix little bug
Merge branch 'res-1' of github.com:xvitaliusx/res