fixed broken behavior for npre on debian