removed unneeded links and added debug message for embedded BP