fixing rails 4 issues