fixes vars