fixed: 'import * only allowed at module level' error