fix check data problem, now it should work