fix python loader output