refactoring source
source refactoring
set default currency in template