removed dead code
make sure eol is correct
fixed eol
scale elements