Fixed app_sanity check error