fix defaulting size_to_content