being pplane and fix bug in ximage startup