flatten() return an empty arrayref when "handler" is set to "none"