fixed bug getting input field labels