Fix wrong definition context