fixed schoolboy error