remove trailing spaces
layout