fix price not being saved