clean up storing account code