fixed misplaced import in fomautomator