Fixes bad caps.