fix sqlid not found NPE