fixed issue with customizing class of input fields, thanks Anthony