Fixing coding errors.