fix precheck callback