Revert "fix wamp handle"

This reverts commit b01e566db544f15ca434ad6d2718c5de30f8e199.