parser: remove unnecessary retains