Clean up bugs.