minor variable correction