add debug for sprite