stuck at encoding balance