preLabel and postLabel fix

Task #31257