fixed output truncation