corrected bug #9
removed debugging logs