Fixed reference error with missing this