integrated pylang and bug fixes