check path buffer