resolve all import problems to work on travis CI