fix constant lookup from Module