fix rs save hook