code cleanup, stop pydev squawkings