make it work with empty protected fields (aka passwords)