fix #40 - cyclic imports will be detected early