cleanup of xinit