correction for schema if exists