Fixed bug in admin saving data