Add additional flush_memcache and fix bug teacher dashboard not rendered