Fix for 'Security error' during pair