fixed apply.h table