fix create call to index
Merge branch 'master' of github.com:Tomesch/res