embedded code fix