Remove ugly whitespaces on generator