Fixed reference error; added charset