fixed Issue #509
Merge branch 'dev' of github.com:devbridge/BetterCMS into dev