Fixed bug if settings not present