fixing target version bug