fix friend focus rgb js error
fix exception after delete (side effect of fix of zss-335)