bug fix, saved at wrong time