add render rabl template trick
add mac support win7