added sub check log not working