treasure is not saving to DB