dynamic effect

and fixed some bug