palace reference fix