remove startOfImage & endOfImage