bug fixed regarding tag outside html