fixing caps issue