set error_mode to :strict