put content tag in proper place