fix argument for adding pathmarks