Fixes bugs.