fix time & square wave battery backup