fixing req checking issue