fix tags for other modes than ruby