fix
lock functions reduce. weekly interval reduce