Remove trailing null