fixed bug in build script
cache error on init plot; clear appcache timeout properly