removed pointless null-termination