issue #3503. remove empty whitespace and add warning section