fixed and improved "isset"