fixed last_warning