can't figure out truncation error