fixes after upgrade to latest revel version