BUG:Index in output image