fixing typo
adding debug message
fixing field name