fixed a bug regarding incides input in parameter
Merge branch 'model_as_dict'