reading json and movepole fix