fix duplicate path error for mako