fix pymode rope