fix version mask issue