Add cheking path to undefined. Refactoring data.json