fix content directory error and remove dead style ref