return bug in varExists

fixed "return return;" bug in varExists.