Fixing parseInstance