python problem with circular import