change wrong logic of supported path