Fixed bug on lightweight edges against remote protocol