fixing import errors in pcat_interface.py