bug fixes, update for rails 4.1.6; root setting added