read and write marker in URL