Fix bug in module position