added special case to avoid wrapping boolean objects