remove whitespaces from widgets