1. fix NullPointerException from dataSchema