refactor of fix for sections alignment