fixed reverse lookup, and set zip_safe=false to aid template loaded