Removed unused attributes

Found through ruby warnings
Corrected uneven indentation