Fixed bug in module declaration