fix action bugs