fixed saving issue, don't know why this ever worked ever