added custom filter for number conversion