complete expire online logic