fix html error on ie
add directory to metadata