convert indexes to int