fixes for master branch

https://github.com/vlamanna/BootstrapFormHelpers/issues/65
thanks to Ünsal Korkmaz