attempt at fixing uppercase overflow