Fixed wrong naming of variable