removes extra spacing