Some issues fixed on assign chapter and resource