safeguard ansi_up