fixing compiliation errors.