Bug when trying to link incompatibles types