improved the CustomLookup for better performance and avoid memory leak.
corrected one of the if condition.
custom webserver