bug in stage header file