Remove trailing spaces
Aim functions