Fixed wrong var names