fix for codiad inside a folder of the server