added a hack validation