add "index out of range" panic