fix max seed value