fix fatal error when including common header file