Code cleanup - remove trailing spaces