For #27 - fixed NPE for users without settings