fix autoloading from binary