bugfix: set invalid field after parsed dict is created