limit max lenght of variant slug and attachment title