fixing module declarations