fix success bug