Schoolboy error; final fix