fixes path for embedded code