fix import py_motion resolving issue in __init__