fix max version