Fixing field type rendering issue