fixed empty boxes (whith only newlines)