Fixed copmile errors.