Defsave boolean value error (SOLVED)

Hello dear defolders I try to save my file with defsave but where I pass the string to my module says

 attempt to index upvalue 'saves_5' (a boolean value)

stack traceback:

so doesnot do the save.

does has to do something with this that I do at init?

 DEBUG:SCRIPT: DefSave: Loaded file 'saves_5' is empty
 DEBUG:SCRIPT: DefSave: There is no default file set for 'saves_5' so setting it to empty

Any suggestions? Thanks a lot

the error was at my code by accident I have reuse the variable and given other thing so after could not save properly. Thanks