fix typo
remove unused code section in test
parseFloat instead of int because of currency
catch error if unregistered filter