fix dynamic link to profile

Small but critical change that fixes the broken search.