fix value not being case sensitive