check if settings exist before calling/using in