crop empty spaces