corrected code template export