fixed sprite numbering output