add error code for HFPage