code clean up

-remember to use alternative php syntax in views