fix release imports and character coding