fix merga bug