Revert "loadExtension fix"

This reverts commit 9b1e0b99d0c7713c4744b6ee74aedabd2f2dc781.