Change condition of check path

Change condition of check path