use success param instead of flash