clone value, so that dont update firebae back