fix code and code-inc extensions