fixed error message so footer is pushed down. fixed code alignment