fix:undefined local variable or method settings' for #<#<Class:0x00000024587298>:0x00000024586050>