check path