fix end position in apache log