removed mocha cloud directory
handling logic