Bug fix.

Correct the position of import sys module.