Fix argument error.

1. wrong arguments import fixed.
2. wrong array index fixed.

Signed-off-by: OtomeSound <s890081tonyhsu@gmail.com>