bg:end action