rid bug fixed