fix for getting value as array when there is extra field in form