graphics fix
mark fixed some bugs