fixed compilation issue in header