added check for path existance