note save working correctly now