add action after tip. fix bugs