minor changes to styling
fixed ruby 2.0/rails 4.0 upgrade problem