2014.09.17.2050 : fixed parts of aamd bridging code