Fixed saving indecies binary