Fixes problems.