fix datacheck