remove path attribute, as its not needed anymore