fixed logic for extracting data from JeeLink