fix wrong export local/global order for front test