set boolean to false instead of 0 on port find