fix success method