Prevent register overflow