frame.h and frame.c solve conflict