Bug fixes preventing code from running.