Fixed bug where checked wrong value for...

duplicate