not getting form fields on initialization